package domain;

import java.util.List;

public class ReceiptPrinterImpl implements ReceiptPrinter {

    @Override
    public void print(List<Withdrawl> withdrawls) {
        for(Withdrawl w : withdrawls)
        System.out.println(w.getAccount().getCardId()+" "+w.getAmount()+" "+w.getDate());

    }
}
